<?php

namespace App\Http\Controllers\Unity;

use App\Http\Controllers\Controller;
use App\Models\Lifts;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;

class LiftDataController extends Controller
{
    public function liftData()
    {
        $data = Lifts::with(['floor'])->get();
        $data = [
            'code' => 200,
            'message' => '',
            'data' => $data
        ];
        return response()->json($data);
    }
}
